]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
portalHelper: Fix signal arguments
authorBastien Nocera <hadess@hadess.net>
Mon, 13 Feb 2017 10:11:26 +0000 (11:11 +0100)
committerBastien Nocera <hadess@hadess.net>
Mon, 13 Feb 2017 10:54:35 +0000 (11:54 +0100)
How did this work in tests?!

https://bugzilla.gnome.org/show_bug.cgi?id=778552

js/portalHelper/main.js

index 6070af2cc6332c650df4c97fbd8aca46a560a36e..a32213706fc46c89adcc376c841b0ad807aecabc 100644 (file)
@@ -192,7 +192,7 @@ const PortalWindow = new Lang.Class({
         return false;
     },
 
-    _onLoadChanged: function(loadEvent) {
+    _onLoadChanged: function(view, loadEvent) {
         if (loadEvent == WebKit.LOAD_STARTED) {
             this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.NOT_YET_DETERMINED);
         } else if (loadEvent == WebKit.LOAD_COMMITTED) {
@@ -206,7 +206,7 @@ const PortalWindow = new Lang.Class({
         }
     },
 
-    _onInsecureContentDetected: function (insecureContentEvent) {
+    _onInsecureContentDetected: function () {
         this._headerBar.setSecurityIcon(PortalHelperSecurityLevel.INSECURE);
     },